<?php
if(isset($this->show) && $this->show == '1')
{	
?>
<html>
	<head>
	<script type="text/javascript">
	 function close1()
	 {
		 window.opener.confirmAll();
		 window.close();
	 }
	</script>
	</head>
	<body>
	<a href="javascript:close1()">Close</a>
	</body>
</html>
<?php } ?>